package us.codecraft.tinyioc.aop;

/**
 * 被代理的对象
 *
 * @author yihua.huang@dianping.com
 */
public class TargetSource {

    /**
     * 代理类的真实Class
     */
    private Class targetClass;

    /**
     * 被代理的原始对象
     */
    private Object target;

    public TargetSource(Object target, Class<?> targetClass) {
        this.target = target;
        this.targetClass = targetClass;
    }

    public Class getTargetClass() {
        return targetClass;
    }

    public Object getTarget() {
        return target;
    }
}
